package com.yunpeng.aidevice.common.vo.user;

import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;

/**
 * MerchantLoginUserVO 商户可登录用户信息
 *
 * @author : Moore(hemw)
 * @date : 2020-05-25
 */
public class MerchantLoginUserVO implements Serializable {

    /**
     * 商户代码
     */
    private String merchantCode;

    /**
     * 商户名
     */
    private String merchantName;

    /**
     * 用户代码
     */
    private String userCode;

    public String getMerchantCode() {
        if (merchantCode == null) {
            merchantCode = StringUtils.EMPTY;
        }
        return merchantCode;
    }

    public void setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
    }

    public String getMerchantName() {
        if (merchantName == null) {
            merchantName = StringUtils.EMPTY;
        }
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    @Override
    public String toString() {
        return "MerchantUserVO{" +
                "merchantCode='" + merchantCode + '\'' +
                ", merchantName='" + merchantName + '\'' +
                ", userCode='" + userCode + '\'' +
                '}';
    }
}
